package com.woniuxy.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author wuyanzu
 * @since 2021-05-26
 */
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "p_id", type = IdType.AUTO)
    private Integer pId;

    private Date pStarttime;

    private Date  pEndtime;

    private Integer rId;

    private String rName;

    private Integer mId;

    private String mName;

    private String mTimelength;

    private String pStatus;

    private Double pPrice;


    public Double getpPrice() {
        return pPrice;
    }

    public void setpPrice(Double pPrice) {
        this.pPrice = pPrice;
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public Date getpStarttime() {
        return pStarttime;
    }

    public void setpStarttime(Date pStarttime) {
        this.pStarttime = pStarttime;
    }

    public Date getpEndtime() {
        return pEndtime;
    }

    public void setpEndtime(Date pEndtime) {
        this.pEndtime = pEndtime;
    }

    public Integer getrId() {
        return rId;
    }

    public void setrId(Integer rId) {
        this.rId = rId;
    }

    public String getrName() {
        return rName;
    }

    public void setrName(String rName) {
        this.rName = rName;
    }

    public Integer getmId() {
        return mId;
    }

    public void setmId(Integer mId) {
        this.mId = mId;
    }

    public String getmName() {
        return mName;
    }

    public void setmName(String mName) {
        this.mName = mName;
    }

    public String getmTimelength() {
        return mTimelength;
    }

    public void setmTimelength(String mTimelength) {
        this.mTimelength = mTimelength;
    }

    public String getpStatus() {
        return pStatus;
    }

    public void setpStatus(String pStatus) {
        this.pStatus = pStatus;
    }

    @Override
    public String toString() {
        return "Product{" +
                "pId=" + pId +
                ", pStarttime=" + pStarttime +
                ", pEndtime=" + pEndtime +
                ", rId=" + rId +
                ", rName='" + rName + '\'' +
                ", mId=" + mId +
                ", mName='" + mName + '\'' +
                ", mTimelength='" + mTimelength + '\'' +
                ", pStatus='" + pStatus + '\'' +
                ", pPrice=" + pPrice +
                '}';
    }
}
